package com.tmpt.dto;


import com.inspiresoftware.lib.dto.geda.annotations.Dto;
import com.inspiresoftware.lib.dto.geda.annotations.DtoField;

import java.io.Serializable;
import java.sql.Timestamp;


@Dto("com.tmpt.beans.A2Role")
public class A2RoleDto  implements Serializable{//角色
	private static final long serialVersionUID = 1L;

	@DtoField
	private long id ;//角色ID ;
	@DtoField
	private String roleName;// 角色名 ;
	@DtoField
	private String description;// 角色描述 ;

	@DtoField
	private int deleteFlag ;//default0,1已删除
	@DtoField(readOnly=true)
	private Timestamp createDate ;
	@DtoField
	private Timestamp modifyDate ;
	@DtoField
	private String createMan ;
	@DtoField
	private String modifyMan ;
	
	/*
	@ManyToMany(mappedBy="a2RoleList", cascade=CascadeType.PERSIST,fetch=FetchType.LAZY)
	public List<A2User> a2UserList = new ArrayList<A2User>();
	
	@OneToMany(mappedBy="a2Role",fetch=FetchType.LAZY)
	private List<A2Menu1My> a2Menu1MyList = new ArrayList<A2Menu1My>();
	*/

	
	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public int getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(int deleteFlag) {
		this.deleteFlag = deleteFlag;
	}

	public Timestamp getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public Timestamp getModifyDate() {
		return modifyDate;
	}

	public void setModifyDate(Timestamp modifyDate) {
		this.modifyDate = modifyDate;
	}

	public String getCreateMan() {
		return createMan;
	}

	public void setCreateMan(String createMan) {
		this.createMan = createMan;
	}

	public String getModifyMan() {
		return modifyMan;
	}

	public void setModifyMan(String modifyMan) {
		this.modifyMan = modifyMan;
	}
}
